package com.hanserwei.han_picture.domain.request.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * 创建用户请求(admin)
 */
@Data
public class UserAddRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 用户昵称
     */
    @Schema(description = "用户昵称")
    private String userName;
    /**
     * 账号
     */
    @Schema(description = "用户账号")
    private String userAccount;
    /**
     * 用户头像
     */
    @Schema(description = "用户头像")
    private String userAvatar;
    /**
     * 用户简介
     */
    @Schema(description = "用户简介")
    private String userProfile;
    /**
     * 用户角色: user, admin
     */
    @Schema(description = "用户角色: user, admin")
    private String userRole;
    /**
     * 用户邮箱
     */
    @Schema(description = "用户邮箱")
    private String userEmail;
    /**
     * 用户手机号
     */
    @Schema(description = "用户手机号")
    private String userPhone;
    /**
     * 用户生日
     */
    @Schema(description = "用户生日")
    private LocalDate birthday;
}